﻿using System;

class LeapYear
{
    static void Main()
    {
        Console.Write("Enter a year: ");

        int year = int.Parse(Console.ReadLine());

        Console.WriteLine("Is the year leap? - " + IsLeapYear(year));
    }

    static string IsLeapYear(int year)
    {
        string isLeap = "No";

        if ((year % 4 == 0) && (year % 100 != 0 || year % 400 == 0))
        {
            isLeap = "Yes";
        }

        return isLeap;
    }
}